Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

let s:terminal_view can be called from TerminalClose directly #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jiz4oh
Copy link

@jiz4oh jiz4oh commented Mar 21, 2023

closes #21

Hi @skywind3000 大佬,非常感谢您创建了这个插件,这个插件使用体验让我感觉非常棒。如果这个插件能够控制其他插件打开的 terminal,这样我就可以将其他插件结合起来,比如 vim-slime 来搭建我自己的 ide 体验。这个 pr 实现了这个目的,我已经测试两个月,希望您能看看

结合任意插件需要加上以下 vimscript

augroup vim-terminal-help-augroup
  autocmd!

  if has('nvim')
    autocmd TermOpen * let t:__terminal_bid__ = bufnr('')
  elseif exists('##TerminalWinOpen')
    autocmd TerminalWinOpen * let t:__terminal_bid__ = bufnr('')
  endif
augroup END

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Handle any open terminal window, rather than only the one this plugin opens
1 participant